package org.yjw;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.yjw.dao.areacode.AreaCodeDao;

public class TestController {

    public static void main(String[] args) {
        ApplicationContext applicationContext = new ClassPathXmlApplicationContext("appliation.xml");
        AreaCodeDao areaCodeDao = (AreaCodeDao) applicationContext.getBean("areaCodeDao");
        System.out.println(areaCodeDao.addAreaCode(null));

    }

}
